Skip to content

Rebuild binaries before publishing#1426

Merged
kewde merged 1 commit intoTryGhost:masterfrom
nickrum:publish-binary-fix
Feb 14, 2021
Merged

Rebuild binaries before publishing#1426
kewde merged 1 commit intoTryGhost:masterfrom
nickrum:publish-binary-fix

Conversation

@nickrum
Copy link
Copy Markdown
Contributor

@nickrum nickrum commented Jan 13, 2021

Executing "npm install --build-from-source" only builds the module for one of the N-API target versions. The build command has to be executed explicitly to generate builds targeting each of the specified N-API versions.

This should fix publishing binaries (which means this should fix #1424).

Executing "npm install --build-from-source" only builds the module for
one of the N-API target versions. The build command has to be executed
explicitly to generate builds targeting each of the specified N-API
versions.
This should fix publishing binaries.
@ThewBear
Copy link
Copy Markdown

ThewBear commented Feb 2, 2021

@kewde Could you take a look at this?

@kewde kewde merged commit 0eba2cd into TryGhost:master Feb 14, 2021
@nickrum nickrum deleted the publish-binary-fix branch February 14, 2021 14:21
@nickrum
Copy link
Copy Markdown
Contributor Author

nickrum commented Feb 14, 2021

@kewde Thanks for the merge, this is very much appreciated. Could you also consider re-publishing the binaries or doing a new release to properly fix the linked issue?

@kewde
Copy link
Copy Markdown
Collaborator

kewde commented Feb 15, 2021

@nickrum going to attempt to patch the bins for v5.0.1, I can not overwrite existing binaries but I can attempt to have it add the N-API v6 bins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failed at the sqlite3@5.0.1 install script.

3 participants